//
//  NSDate+Formatter.h
//  SystemXinDai
//
//  Created by stoneobs on 16/3/26.
//  Copyright © 2016年 stoneobs. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSDate (STTools_Formatter)

//Other
+ (NSDate*)stoneobs_fun_localCurrentDate;//本地当前时间
- (NSDate*)stoneobs_fun_localDate;//本地时间
- (NSString *)stoneobs_fun_mmddByLineWithDate;
- (NSString *)stoneobs_fun_yyyyMMByLineWithDate;

- (NSString *)stoneobs_fun_yyyyMMddByLineWithDate;
+ (NSDate *)stoneobs_fun_dateWithYyyyMMDDByLineString:(NSString*)string;
- (NSString *)stoneobs_fun_mmddChineseWithDate;
- (NSString *)stoneobs_fun_hhmmssWithDate;
- (NSString *)stoneobs_fun_yyyyMMddhhmmssWithDate;
- (NSString *)stoneobs_fun_morningOrAfterWithHH;
- (NSString *)stoneobs_fun_weekOrMonth;//本周，本月，几时几分---调用者用本地时间，
- (NSString *)stoneobs_fun_ynamicFormater;//类似微信朋友圈，刚刚，3-59分钟前分钟，小余3分钟刚刚，1-23小时前，昨天，2-30天前，具体时间
+ (NSString *)stoneobs_fun_countDownWithSecend:(NSInteger)secedn;//倒计时，小时计算

//2个日期 差距几天
+ (NSInteger)stoneobs_fun_countFormDate:(NSDate*)date endDate:(NSDate*)enddate;
- (NSDate*)stoneobs_fun_to_23_59_59date;
- (NSDate*)stoneobs_fun_to_to_00_00_00date;
@end
